console.log(a);
console.log(b);
var a =1;
var a= 2;// 重复声明，不报错，会被忽略
console.log(a);
let b = 3;
let b = 4;// 不可以重复声明，报错
console.log(b);